/*
 * @Descripttion: 
 * @version: 
 * @Author: yuanliutech
 * @Date: 2022-11-02 14:26:03
 * @LastEditors: yuanliutech@lwj
 * @LastEditTime: 2022-12-19 14:53:11
 */
const app = getApp()
import Dialog from '@vant/weapp/dialog/dialog';
import {
    showMsg
} from '../../../utils/config.js'
import {
    reqIsolationPersonStatistics
} from '../../../request/api'
Page({
    data: {
        navHeight: app.globalData.navHeight + 'px', //头部距离
        bottomHeight: app.globalData.bottomHeight + 'px', //iphone底部距离
        info: {},
        srcUsername: '../../../statics/images/personal-center/default_avatar.png',
    },
    onLoad(e) {
        this.getItemInfo(e)
    },
    onShow() {

    },
    getItemInfo(e) {
        let item = JSON.parse(e.item)
        this.setData({
            info: item
        })
    },

    // 去详情
    goDetail(e) {
        let {
            item
        } = e.currentTarget.dataset
        let info = JSON.stringify(item)
        wx.navigateTo({
            url: `/pages/personal-inside-page/team-detail/team-detail?item=${info}`,
        })
    }
})